package com.zhai.cloud.config;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author Created by 翟凤玺
 * @package com.zhai.cloud.config
 * @project-name zhai-cloud
 * @description 配置中心
 * @create-datetime 2019-9-29 13:33
 */
@SpringBootApplication(scanBasePackages = {"com.zhai.cloud"})
@EnableConfigServer
@EnableEurekaClient
public class ConfigApplication {

    public static void main(String[] args) {
        SpringApplication.run(ConfigApplication.class, args);
    }
}
